package peng.service;

import peng.bean.PageBeanAdmin;
import peng.bean.PageResult;
import peng.entity.AdminUser;
import peng.bean.AuserBridging;

import java.util.List;
import java.util.Map;

public interface AdminUserService {

    int insert(AdminUser record);

    int insertSelective(AdminUser record);

    AdminUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdminUser record);

    int updateByPrimaryKey(AdminUser record);

    List<AdminUser> selectAll();


    int selectAccount(String accountOrphone);

    AdminUser selectByAdminAndPass(String accountOrphone);


    PageResult queryselect(PageBeanAdmin pageBeanAdmin);

    List<Map<String,Object>> selectListByPage(PageBeanAdmin vo);

    int selectByid(Integer id);
}
